/**
 * 应用中使用的常量集合
 */

// 默认分页大小
export const DEFAULT_PAGE_SIZE = 10;

// API 请求超时时间（毫秒）
export const API_TIMEOUT = 10000;

// 用户角色
export const USER_ROLES = {
  ADMIN: "admin",
  USER: "user",
  GUEST: "guest",
};

// 默认颜色方案
export const DEFAULT_COLOR_SCHEME = [
  "#1677ff",
  "#52c41a",
  "#fa8c16",
  "#eb2f96",
  "#722ed1",
  "#13c2c2",
  "#faad14",
  "#f5222d",
];

// 日期格式
export const DATE_FORMAT = "YYYY-MM-DD";
export const DATE_TIME_FORMAT = "YYYY-MM-DD HH:mm:ss";

// 提示信息
export const MESSAGES = {
  SUCCESS: "操作成功",
  ERROR: "操作失败，请稍后重试",
  LOADING: "加载中，请稍候...",
};

// api前缀默认 网关
export const DEFAULT_API_PREFIX = "/aiblox-backend";
export const GATEWAY_API_PREFIX = "/aiblox-gateway";
